PXC Documentation

PXC Home

Spawn

pre 1.18

Node Data

Display name

Spawn

Internal name

Node_pSystem_Spawn

Inheritances

Node_pSystem_Spawn

Inputs

Spawn

enum

Spawn Type

trigger

Spawn Trigger

int

Spawn Delay

int

Burst Duration

range

Spawn Amount

range

Lifespan

Source

enum

Type

enum

Shape

enum

Border Shape

enum

Distribution

int

Period

slider

Shift

area

Area

vec2

Line Start

vec2

Line End

path

Path

mesh

Mesh

surface

Spawn Map

vector

Spawn Data

int

Attempt

Transform

range

Inherit Velocity

rotRand

Direction

range

Velocity

Rotation

rotRand

Rotation

Scale

vec2[2]

Scale

range

Size

Render

gradient

Base Color

palette

Color By Index

range

Alpha

Events

range

Step Period

Outputs

particle

Particles

trigger

On Spawn

trigger

On Step

trigger

On Destroy


Spawn particles. Most properties are shared with Particle.



Properties


Spawn
Spawn TypeSpawn Timing
- Stream: Spawn particles constantly.
- Burst: Spawn particles once in burst.
- Trigger: Spawn particles using manual/automatic trigger.
Spawn DelayFor Stream type, frames delay between each particle spawn.
Spawn FrameFor Burst type, frame index to spawn.
Burst DurationFor Burst type, amount of frames to spawn.
Spawn AmountAmount of particles to spawn per frame.
LifespanParticle lifespan.
Spawn > Source
Spawn SourceType of particle spawn source.
- Area Inside: Spawn inside an area.
- Area Border: Spawn around area border.
- Map: Spawn based on greyscale surface.
- Path: Spawn along a path.
- Direct Data: Spawn from array of vec2 points.
DistributionFor area, path source, particle spawning pattern.
PeriodFor uniform distribution, define distribution amount (e.g. if set to 4, particle will spawn at 4 fixed points in the source.)
If set to zero, will use Spawn Amount.
Transform
Inherit VelocityWhen spawning particle using a trigger from another particle. Whether to inherit velocity from the caller particle and how much.
DirectionInitial spawn direction.
VelocityInitial velocity.
Scale
ScaleDefine non-uniform particle scale.
SizeUniform particle scale.
Events
Step PeriodHow often will the particle call step event (e.g. if set to 2, will trigger step event once every 2 frames).



Commit History


1.19.8
  • Introduced

Related Links